micro_utils.dokka
0.9.3
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]onFirst
on
First
common
inline
fun
<
T1
,
T2
,
E
:
Either
<
T1
,
T2
>
>
E
.
onFirst
(
block
:
(
T1
)
->
Unit
)
:
E
Content copied to clipboard
Will call
block
in case when
Either.t1
of
this
is not null